<!-- saved from url=(0013)about:internet -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Example 1 - Adobe's Flash Detection Kit</title>
<script src="scripts/AC_OETags.js" language="javascript"></script>
<script language="JavaScript" type="text/javascript">
<!--
// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 8;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 0;
// -----------------------------------------------------------------------------
// -->
</script>
</head>

<body>
<p>This is the example showing embedding flash using Adoe's flah
detection kit which is availabe from <a
	href="http://www.adobe.com/products/flashplayer/download/detection_kit/">http://www.adobe.com/products/flashplayer/download/detection_kit/</a>
</p>
<p>You can see the examples and then embed as per your requirement.
Dont forget to add 'username' and 'albumid' as a flash vars. Simple way
to do is append them as
username=&lt;username&gt;&amp;albumid=&lt;albumid&gt; to your source
file.</p>
<p>In your HTML code simply append username and albumid as shown
above<br />
For eg:<br />
picasa_api.swf?username=swapsworld&amp;albumid=4994601355866669073<br />
Everything else should just go fine.</p>
<script language="JavaScript" type="text/javascript">
<!--
// Version check based upon the values entered above in "Globals"
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

// Check to see if the version meets the requirements for playback
if (hasReqestedVersion) {
	// if we've detected an acceptable version
	// embed the Flash Content SWF when all tests are passed
	AC_FL_RunContent(
				"src", "picasa_api?username=swapsworld&albumid=4994601355866669073",
				"width", "450",
				"height", "580",
				"align", "middle",
				"id", "detectionExample",
				"quality", "high",
				"bgcolor", "#90BF49",
				"name", "detectionExample",
				"allowScriptAccess","sameDomain",
				"type", "application/x-shockwave-flash",
				'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
				"pluginspage", "http://www.adobe.com/go/getflashplayer"
	);
} else {  // flash is too old or we can't detect the plugin
	var alternateContent = 'Alternate HTML content should be placed here.<BR>'
	+ 'This content requires the Adobe Flash Player. '
	+ '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>';
	document.write(alternateContent);  // insert non-flash content
}
// -->
</script>
<noscript>Provide alternate content for browsers that do not
support scripting or for those that have scripting disabled. Alternate
HTML content should be placed here. This content requires the Adobe
Flash Player and a browser with JavaScript enabled. <a
	href="http://www.adobe.com/go/getflash/">Get Flash</a></noscript>
</body>
</html>
